package com.dit.service;

import java.io.Serializable;
import java.util.List;

public interface GenericService<T, K extends Serializable> {

	List<T> findAll();
	List<T> findAllNotDisabled();
	List<T> findAllDisabled();
	T findById(K id);
	int delete(K id);
	
	int save(T entity,K userId);
	int update(T entity,K userId);
	
}
